package com.itxiaoz.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author: Teao
 * @CreateTime: 2024-04-17  00:41
 * @Description:
 */
@Component
@ConfigurationProperties(prefix = "itdupan.filter")
@Slf4j
public class FilterProperties {
    private List<String> allowPaths;

    public List<String> getAllowPaths() {
        return allowPaths;
    }

    public void setAllowPaths(List<String> allowPaths) {
        this.allowPaths = allowPaths;
        log.info("================================================");
        log.info("allowPaths:{}", allowPaths);
    }
}
